import { defineStore } from "pinia";

export const useInterviewResultStore = defineStore("interviewResult", {
  state: () => ({
    expressionAnalysis: '' as string,
    voiceEvaluation: '' as string,
    masteryOfKnowledge: '' as string,
  }),
  actions: {
    getExpressionAnalysis() {
        return this.expressionAnalysis;
    },
    setExpressionAnalysis(expressionAnalysis: string) {
        this.expressionAnalysis = expressionAnalysis;
    },
    getVoiceEvaluation() {
        return this.voiceEvaluation;
    },
    setVoiceEvaluation(voiceEvaluation: string) {
        this.voiceEvaluation = voiceEvaluation;
    },
    getMasteryOfKnowledge() {
        return this.masteryOfKnowledge;
    },
    setMasteryOfKnowledge(masteryOfKnowledge: string) {
        this.masteryOfKnowledge = masteryOfKnowledge;
    }
  },
});